<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>忘记密码页面</title>

    <base href="http://localhost:81/resources/back/">

    <script src="js/AjaxUtlis.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="lib/layer/1.9.3/layer.js"></script>
    <script>
        function send() {
            var sendType = $("#name").val();

            var param = new Object();
            param.username=sendType;

            post("auth/queryUser",param,function (resp) {
                if (resp.code==0){
                    $("#showMsg").html(resp.msg)
                }
            })
        }
    </script>
</head>
<body>
请输入：<input type="text" name="name" id="name" placeholder="手机号/邮箱/账号"/><br>
<button type="submit" onclick="send()">点击发送</button>
<div id="showMsg"></div>
</body>
</html>